<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        canvas{
            height: 600px;
            width: 600px;
            background-color: blueviolet;
        }
    </style>
</head>
<body>
<canvas ></canvas>
<script>
    const canvas = document.querySelector("canvas")
    console.log(canvas.width, canvas.height)
</script>
</body>
</html>
